package model.workersWithData.sort;

import java.util.Comparator;

import entities.IOrder;

public class SortOrderByFillingDate implements Comparator<IOrder> {
	public int compare(IOrder order1,IOrder order2) {
		int result=0;
			result=order1.getFillingDate().compareTo(order2.getFillingDate());
	
		return result;

	}

}
